//
//  RootParkdViewController.m
//  parkd
//
//  Created by AnhTran on 3/25/14.
//  Copyright (c) 2014 BK. All rights reserved.
//

#import "RootParkdViewController.h"
#import "BKAppDelegate.h"

@interface RootParkdViewController ()

@end

@implementation RootParkdViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}
//function tim kiem dia diem map
-(IBAction)find:(id)sender {
    
    self.mapView = [[MapParkdViewController alloc] initWithNibName:@"MapParkdViewController" bundle:nil];    
    [self.navigationController pushViewController:_mapView animated:YES];
}
- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
